<extend name="Public/base" />

<!-- 子導航 -->
<block name="sidebar">
    <include file="sidemenu" />
</block>

<block name="body">
    <!-- 標題欄 -->
    <div class="main-title">
        <h2>課程預約({:count($list)})[{$meta_title}]</h2>
    </div>

    <!-- 數據列表 -->
    <div class="data-table table-striped">
        <table class="">
            <thead>
                <tr>
                    <th class="row-selected row-selected"><input class="check-all" type="checkbox"/></th>
                    <th class="">編號</th>
                    <th class="">姓名</th>
                    <th class="">手機</th>
                    <th class="">預約課程</th>
                    <th>狀態</th>
                    <th class="">操作</th>
                </tr>
            </thead>
            <tbody>
            <volist name="list" id="vo">
                <tr>
                    <td><input class="ids" type="checkbox" name="ids[]" value="{$vo.id}" /></td>
                    <td>{$vo.id} </td>
                <td><a href="{:U('Admin/Article/appointmentdetail',array('id'=>$vo['id']),'')}" class="">{$vo.name}</a></td>
                    <td>{$vo.mobile} </td>
                    <td><span>{$vo.course}</span></td>
                    <td style="color: red">{$vo.readstatus}</td>
                    <td>
                        <a href="{:U('Article/adel',array('id'=>$vo['id']),'')}" class="">删除</a>
                    </td>
                </tr>
            </volist>
            </tbody>
        </table> 
    </div>
    <div class="page">
        {$_page}
    </div>
</block>